Arch Space/es

THIS COMMAND IS PART OF THE INTEGRATED BIM WORKBENCH IN V1.0
This page has been updated for that version.

Arch Espacio

Ubicación en el Menú
Arch → Space
Entornos de trabajo
Arch
Atajo de teclado por defecto
S P
Introducido en versión
0.14
Ver también
Arch Wall/es, Arch Structure/es

Description

Descripción

La herramienta Espacio le permite definir un volumen vacío, ya sea basado en una forma sólida, o definiendo sus límites, o una combinación de ambos. Si se basa únicamente en los límites, el volumen se calcula comenzando desde el cuadro delimitador de todos los límites dados, y restando los espacios detrás de cada límite. El objeto espacio siempre define un volumen sólido. El área del suelo de un objeto espacio, calculado mediante la intersección de un plano horizontal en el centro de masa del volumen del espacio, también se puede visualizar, configurando el modo de visualización del objeto espacial a "detallado".

En la imagen de arriba, un objeto espacial se crea a partir de un objeto sólido existente, luego se agregan dos caras de muro como límites, y el modo de visualización se establece en "detallado" para mostrar el área del piso.

Utilización

  1. Seleccione un objeto sólido existente o caras en objetos de contorno
  2. Presione el botón Arch Space, o presione las teclas S, P

Once a space has been created, you can also add or remove boundaries to/from it using the Add or Remove buttons in the toolbar. Alternatively, you can also do this in the Tasks panel or in the Property editor.

As an example, to add a boundary, given a space that intersects a wall:

  1. Select the wall face that intersects the space. That will be the new boundary.
  2. Keeping the Ctrl key pressed, select the space.
  3. Press the Add button in the toolbar.
  4. The wall face now defines a new boundary, and the space will only extend up to the wall face in the direction facing it.

The same example: add a boundary, given a space that intersects a wall. This time we're using the Tasks panel:

  1. Double-click the space object in the Tree View. This will activate its Tasks panel.
  2. Select the wall face that intersects the space. That will be the new boundary.
  3. Press the Add button in the Tasks panel. The name of the wall face will be displayed in the "Space boundaries" section there.
  4. Press the OK button in the Tasks panel.
  5. The wall face now defines a new boundary, and the space will only extend up to the wall face in the direction facing it.

Yet another alternative: add a boundary, given a space that intersects a wall. This time we're using the Property editor:

  1. Navigate to the Property View and locate the DatosBoundaries property under the "Space" group.
  2. On the right hand side of the DatosBoundaries property, click on the ellipsis button.
  3. Select the wall face that intersects the space. That will be the new boundary. The "Link" dialog will reflect your selection.
  4. Press the OK button in the "Link" dialog.
  5. The wall face now defines a new boundary, and the space will only extend up to the wall face in the direction facing it.

Limitaciones

  • No disponible antes de la versión 0.14 de FreeCAD
  • Las propiedades de límites actualmente no se pueden editar a través de GUI
  • Ver el anuncio del foro

Propiedades

  • DATOSBase: El objeto base, si lo hay (debe ser un sólido)
  • DATOSBoundaries: Una lista de elementos de límite opcionales

Options

Scripting

Programación

La herramienta de espacio se puede usar en scripts de Python y macros/es usando la siguiente función:

Space = makeSpace(objects=None, baseobj=None, name="Space")
  • Crea un objeto espacio a partir de los objetos dados.
  • Los objetos pueden ser un objeto de documento, en cuyo caso se convierte en la forma básica del objeto de espacio, o una lista de objetos de selección como se devuelve por FreeCADGui.Selection.getSelectionEx(), o una lista de tuplas (object, subobjectname).
  • Devuelve el objeto espacial recién creado.

Ejemplo:

import FreeCAD, Arch

Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box")
Box.Length = 1000
Box.Width = 1000
Box.Height = 1000

Space = Arch.makeSpace(Box)
Space.ViewObject.LineWidth = 2
FreeCAD.ActiveDocument.recompute()

Después de crear un objeto espacio, se pueden agregar caras seleccionadas con la siguiente función:

import FreeCAD, FreeCADGui, Draft, Arch

points = [FreeCAD.Vector(-500, 0, 0), FreeCAD.Vector(1000, 1000, 0)]
Line = Draft.makeWire(points)
Wall = Arch.makeWall(Line, width=150, height=2000)
FreeCAD.ActiveDocument.recompute()

# Select a face of the wall
selection = FreeCADGui.Selection.getSelectionEx()
Arch.addSpaceBoundaries(Space, selection)

Los límites también se pueden eliminar con:

selection = FreeCADGui.Selection.getSelectionEx()
Arch.removeSpaceBoundaries(Space, selection)